package rabbitas {

	/**
	 * @author martindyrby
	 */
	public class RabbitLogger {
		
		static public var level:uint = 0;
		
		static public function debug(...args) : void {
			if(level < 2) return;
			trace("[RabbitLogger::DEBUG]", args.join(" "));
		}
		
		static public function info(...args) : void {
			if(level < 1) return;
			trace("[RabbitLogger::INFO]", args.join(" "));
		}
				
		static public function error(...args) : void {
			trace("[RabbitLogger::ERROR]", args.join(" "));
		}
	}
}
